package com.hrpmar.pojo;


import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDate;
import java.util.Date;

/**
 * 供应商表
 */
public class Provider extends BasePojo {

  private Integer proId;        //供应商序号
  private String proNum;        //公司编号
  private String proName;       //公司名称
  private String proReaddress;  //企业地址
  private String proPerson;     //负责人
  private String proPhone;      //联系方式
  private String proFax;        //传真
  private String proPractice;   //主要供应业务

  @DateTimeFormat(pattern = "yyyy-MM-dd")
  private LocalDate proValidity;     //有效日期

  /**
   * 创建人，创建时间，修改人，修改时间 继承自父类
   * @return
   */
  public Integer getProId() {
    return proId;
  }

  public void setProId(Integer proId) {
    this.proId = proId;
  }

  public String getProNum() {
    return proNum;
  }

  public void setProNum(String proNum) {
    this.proNum = proNum;
  }

  public String getProName() {
    return proName;
  }

  public void setProName(String proName) {
    this.proName = proName;
  }

  public String getProReaddress() {
    return proReaddress;
  }

  public void setProReaddress(String proReaddress) {
    this.proReaddress = proReaddress;
  }

  public String getProPerson() {
    return proPerson;
  }

  public void setProPerson(String proPerson) {
    this.proPerson = proPerson;
  }

  public String getProPhone() {
    return proPhone;
  }

  public void setProPhone(String proPhone) {
    this.proPhone = proPhone;
  }

  public String getProFax() {
    return proFax;
  }

  public void setProFax(String proFax) {
    this.proFax = proFax;
  }

  public String getProPractice() {
    return proPractice;
  }

  public void setProPractice(String proPractice) {
    this.proPractice = proPractice;
  }

  public LocalDate getProValidity() {
    return proValidity;
  }

  public void setProValidity(LocalDate proValidity) {
    this.proValidity = proValidity;
  }
}
